const express = require('express')
const app = express()
//导入和注册路由模块
//加入访问前缀
const router = require('./05封装路由模块router')
app.use('/api',router)

app.listen(80,()=>{
    console.log('server running')
    
})